//
// Created by 215609 on 2024/6/24.
//

#ifndef AUDIOCAMERA_TEXTUREMAPSAMPLE_H
#define AUDIOCAMERA_TEXTUREMAPSAMPLE_H


#include "GLBase.h"

class TextureMapSample: public GLBase {
public:
    TextureMapSample();

    virtual ~TextureMapSample();

    void LoadImage(NativeImage *pImage);

    virtual void Init();

    virtual void Draw(int screenW, int screenH);

    virtual void Destroy();
private:
    GLuint m_TextureId;
    GLint m_SamplerLoc;
    NativeImage m_RenderImage;
};


#endif //AUDIOCAMERA_TEXTUREMAPSAMPLE_H
